import { Image } from "@tarojs/components";
import "./index.scss";
import floatAddImage from "./images/float-add-button.png";

interface FloatAddButtonProps {
  onClick: () => void;
}

export default function FloatAddButton({ onClick }: FloatAddButtonProps) {
  return (
    <Image src={floatAddImage} className='float-add-button' onClick={onClick} />
  );
}
